package cn.wyu.blogrest.repository;

import cn.wyu.blogrest.entity.Auth;
import org.springframework.data.repository.CrudRepository;

public interface AuthRepository extends CrudRepository<Auth,Integer> {
    Auth findByAccessToken(String accessToken);
    Auth findFirstByAccessToken(String accessToken);
    Auth findById(int id);
}
